package com.impetus.project.skilltest.service;

import java.util.List;

import com.impetus.project.skilltest.core.Constants;
import com.impetus.project.skilltest.core.SkillTestException;
import com.impetus.project.skilltest.dataobject.Candidate;
import com.impetus.project.skilltest.dataobject.Question;
import com.impetus.project.skilltest.dataobject.ScheduledTest;
import com.impetus.project.skilltest.dataobject.TestTransData;

public class TestService {
	
	// List of questions on a per user basis
	
	// Update ScheduledTest as required

	public static List<ScheduledTest> getScheduledTests(Candidate candidate)
	throws SkillTestException
	{
		SecurityService.checkLogin(candidate);
		return null;
	}
	
	public static Question getNextQuestion(String candidateId, String testId)
	throws SkillTestException
	{
		return null;
	}
	
	public static TestTransData evaluateAndSaveProgrammingQuestion(TestTransData transData)
	throws SkillTestException
	{
		//evaluateProgrammingQuestion(transData);
		return null;
	}
	
	public static TestTransData evaluateProgrammingQuestion(TestTransData transData)
	throws SkillTestException
	{
		// will populate status and error text
		//Constants.ANSWER_STATUS.CORRECT
		return null;
	}
	
}
